<?php

defined('BASEPATH') OR exit('No direct script access allowed');

/**
 * Themes model
 *
 * @author         GiCMS Development Team
 * @package        GiCMS
 * @subpackage     Modules
 * @category       Modules
 */
class Themes_ub_m extends MY_Model {


    
    public function get_theme($theme_id) {        
        $this->db->from('themes_ub');
        $this->db->where('themes_ub.id', $theme_id);        
        $ret = $this->db->get()->row();
        if ($ret) {
            return $ret;            
        }
        return FALSE;        
    }


}

/* End of file models/themes_m.php */